﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="JinDu3_In.aspx.cs" Inherits="syc.Fc.JinDu3_In" %>
<html>
<head></head>
<body>
<script type="text/javascript" language="javascript" src="/common.js"></script>
<form id="form1" runat="server">

<asp:Label ID="BID" runat="server" Text="0" Visible="false"></asp:Label>

<div id="wintop" class="wintop">三分厂生产进度录入</div>

<asp:Panel ID="Panel1" runat="server" CssClass="panel">

    <asp:Button ID="Button_Finish" runat="server" Text="保 存" CssClass="button" 
        UseSubmitBehavior="False" onclick="Button_Finish_Click" />
    <asp:Button ID="Button_New" runat="server" Text="录入下一条" CssClass="button2" 
        Font-Bold="false" Visible="false"
        UseSubmitBehavior="False" onclick="Button_New_Click" />
        
    <asp:Button ID="Button_ZhiJian" runat="server" Text="质检数据" CssClass="button" UseSubmitBehavior="False" Enabled="false"/>
    
    <input type="button" value="关 闭" class="button" onclick="parent.swin2_close();" />
</asp:Panel>


<asp:Panel ID="Panel2" runat="server" CssClass="panel" HorizontalAlign="Center">
班 次：<asp:DropDownList ID="BanCi" runat="server" Width="120px">
    <asp:ListItem Value="1">甲班</asp:ListItem>
    <asp:ListItem Value="2">乙班</asp:ListItem>
    <asp:ListItem Value="3">丙班</asp:ListItem>
    <asp:ListItem Value="4">丁班</asp:ListItem>
</asp:DropDownList>
<span style="margin-left:20px;"></span>产 品：<asp:DropDownList ID="ChanPin" runat="server" Width="120px">
    <asp:ListItem Value="1">油管接箍(J55)</asp:ListItem>
    <asp:ListItem Value="2" Selected="True">套管接箍(J55)</asp:ListItem>
    <asp:ListItem Value="3">油管接箍(N80Q)</asp:ListItem>
    <asp:ListItem Value="4">套管接箍(N80Q)</asp:ListItem>
</asp:DropDownList> 
<span style="margin-left:20px;"></span>日 期：<asp:TextBox ID="RiQi" runat="server" CssClass="textbox" Font-Size="13px" Width="120px"></asp:TextBox><img alt="" src="/Icons/29.png" align="middle" onclick="makecalendar(document.getElementById('RiQi').value, document.getElementById('RiQi'));" />

</asp:Panel>
<asp:Panel ID="Panel3" runat="server" CssClass="panel" >
<style>
td{padding:3px 2px 1px 2px;}
input.textbox{font-size:16px;text-align:center;}
</style>
<table border="1" style="border-collapse:separate;font-size:14px;margin-bottom:7px;text-align:center;" width="100%" >
<tr>
<td width="100" style="border:none"><b>原料投入</b></td>
<td width="120">根数(根)<br><asp:TextBox ID="TouRuGen" runat="server" CssClass="textbox" Width="110px" Text="0"></asp:TextBox></td>
<td width="120">重量(kg)<br><asp:TextBox ID="TouRuZhong" runat="server" CssClass="textbox" Width="110px" Text="0"></asp:TextBox></td>
<td width="100" style="border:none"><b>切料(支)</b></td>
<td width="120">支数<br><asp:TextBox ID="QieLiaoZhi" runat="server" CssClass="textbox" Width="110px" Text="0"></asp:TextBox></td>
</tr>

<tr bgcolor="#fffff8">
<td><b>粗车(支)</b></td>
<td>合格<br><asp:TextBox ID="CuChe" runat="server" CssClass="textbox" Width="110px" Text="0"></asp:TextBox></td>
<td>不合格<br><asp:TextBox ID="CuCheFei" runat="server" CssClass="textbox" Width="110px" Text="0"></asp:TextBox></td>
<td style="border:none"><b>打字(支)</b></td>
<td>支数<br><asp:TextBox ID="DaZi" runat="server" CssClass="textbox" Width="110px" Text="0"></asp:TextBox></td>
</tr>

<tr>
<td style="border:none"><b>车丝支数(支)</b></td>
<td colspan="4">01# <asp:TextBox ID="CheSi1" runat="server" CssClass="textbox" Width="70" Text="0" Font-Size="14px"></asp:TextBox>
02# <asp:TextBox ID="CheSi2" runat="server" CssClass="textbox" Width="70" Text="0" Font-Size="14px"></asp:TextBox>
03# <asp:TextBox ID="CheSi3" runat="server" CssClass="textbox" Width="70" Text="0" Font-Size="14px"></asp:TextBox>
04# <asp:TextBox ID="CheSi4" runat="server" CssClass="textbox" Width="70" Text="0" Font-Size="14px"></asp:TextBox>
05# <asp:TextBox ID="CheSi5" runat="server" CssClass="textbox" Width="70" Text="0" Font-Size="14px"></asp:TextBox>
<br />06# <asp:TextBox ID="CheSi6" runat="server" CssClass="textbox" Width="70" Text="0" Font-Size="14px"></asp:TextBox>
07# <asp:TextBox ID="CheSi7" runat="server" CssClass="textbox" Width="70" Text="0" Font-Size="14px"></asp:TextBox>
08# <asp:TextBox ID="CheSi8" runat="server" CssClass="textbox" Width="70" Text="0" Font-Size="14px"></asp:TextBox>
09# <asp:TextBox ID="CheSi9" runat="server" CssClass="textbox" Width="70" Text="0" Font-Size="14px"></asp:TextBox>
10# <asp:TextBox ID="CheSi10" runat="server" CssClass="textbox" Width="70" Text="0" Font-Size="14px"></asp:TextBox>
<br />11# <asp:TextBox ID="CheSi11" runat="server" CssClass="textbox" Width="70" Text="0" Font-Size="14px"></asp:TextBox>
12# <asp:TextBox ID="CheSi12" runat="server" CssClass="textbox" Width="70" Text="0" Font-Size="14px"></asp:TextBox>
13# <asp:TextBox ID="CheSi13" runat="server" CssClass="textbox" Width="70" Text="0" Font-Size="14px"></asp:TextBox>
14# <asp:TextBox ID="CheSi14" runat="server" CssClass="textbox" Width="70" Text="0" Font-Size="14px"></asp:TextBox>
15# <asp:TextBox ID="CheSi15" runat="server" CssClass="textbox" Width="70" Text="0" Font-Size="14px"></asp:TextBox>
<br />16# <asp:TextBox ID="CheSi16" runat="server" CssClass="textbox" Width="70" Text="0" Font-Size="14px"></asp:TextBox>
17# <asp:TextBox ID="CheSi17" runat="server" CssClass="textbox" Width="70" Text="0" Font-Size="14px"></asp:TextBox>
18# <asp:TextBox ID="CheSi18" runat="server" CssClass="textbox" Width="70" Text="0" Font-Size="14px"></asp:TextBox>
19# <asp:TextBox ID="CheSi19" runat="server" CssClass="textbox" Width="70" Text="0" Font-Size="14px"></asp:TextBox>
20# <asp:TextBox ID="CheSi20" runat="server" CssClass="textbox" Width="70" Text="0" Font-Size="14px"></asp:TextBox></td>
</tr>

<tr bgcolor="#fffff8">
<td><b>车丝废品(支)</b></td>
<td colspan="4">01# <asp:TextBox ID="CheFei1" runat="server" CssClass="textbox" Width="70" Text="0" Font-Size="14px"></asp:TextBox>
02# <asp:TextBox ID="CheFei2" runat="server" CssClass="textbox" Width="70" Text="0" Font-Size="14px"></asp:TextBox>
03# <asp:TextBox ID="CheFei3" runat="server" CssClass="textbox" Width="70" Text="0" Font-Size="14px"></asp:TextBox>
04# <asp:TextBox ID="CheFei4" runat="server" CssClass="textbox" Width="70" Text="0" Font-Size="14px"></asp:TextBox>
05# <asp:TextBox ID="CheFei5" runat="server" CssClass="textbox" Width="70" Text="0" Font-Size="14px"></asp:TextBox>
<br />06# <asp:TextBox ID="CheFei6" runat="server" CssClass="textbox" Width="70" Text="0" Font-Size="14px"></asp:TextBox>
07# <asp:TextBox ID="CheFei7" runat="server" CssClass="textbox" Width="70" Text="0" Font-Size="14px"></asp:TextBox>
08# <asp:TextBox ID="CheFei8" runat="server" CssClass="textbox" Width="70" Text="0" Font-Size="14px"></asp:TextBox>
09# <asp:TextBox ID="CheFei9" runat="server" CssClass="textbox" Width="70" Text="0" Font-Size="14px"></asp:TextBox>
10# <asp:TextBox ID="CheFei10" runat="server" CssClass="textbox" Width="70" Text="0" Font-Size="14px"></asp:TextBox>
<br />11# <asp:TextBox ID="CheFei11" runat="server" CssClass="textbox" Width="70" Text="0" Font-Size="14px"></asp:TextBox>
12# <asp:TextBox ID="CheFei12" runat="server" CssClass="textbox" Width="70" Text="0" Font-Size="14px"></asp:TextBox>
13# <asp:TextBox ID="CheFei13" runat="server" CssClass="textbox" Width="70" Text="0" Font-Size="14px"></asp:TextBox>
14# <asp:TextBox ID="CheFei14" runat="server" CssClass="textbox" Width="70" Text="0" Font-Size="14px"></asp:TextBox>
15# <asp:TextBox ID="CheFei15" runat="server" CssClass="textbox" Width="70" Text="0" Font-Size="14px"></asp:TextBox>
<br />16# <asp:TextBox ID="CheFei16" runat="server" CssClass="textbox" Width="70" Text="0" Font-Size="14px"></asp:TextBox>
17# <asp:TextBox ID="CheFei17" runat="server" CssClass="textbox" Width="70" Text="0" Font-Size="14px"></asp:TextBox>
18# <asp:TextBox ID="CheFei18" runat="server" CssClass="textbox" Width="70" Text="0" Font-Size="14px"></asp:TextBox>
19# <asp:TextBox ID="CheFei19" runat="server" CssClass="textbox" Width="70" Text="0" Font-Size="14px"></asp:TextBox>
20# <asp:TextBox ID="CheFei20" runat="server" CssClass="textbox" Width="70" Text="0" Font-Size="14px"></asp:TextBox></td>
</tr>

<tr>
<td style="border:none"><b>磁粉碳伤(支)</b></td>
<td>合格<br><asp:TextBox ID="CiTan" runat="server" CssClass="textbox" Width="110px" Text="0"></asp:TextBox></td>
<td>不合格<br><asp:TextBox ID="CiTanFei" runat="server" CssClass="textbox" Width="110px" Text="0"></asp:TextBox></td>
<td></td>
<td></td>
</tr>

<tr bgcolor="#fffff8">
<td><b>磷化处理(支)</b></td>
<td>支数<br><asp:TextBox ID="LinHuaZhi" runat="server" CssClass="textbox" Width="110px" Text="0"></asp:TextBox></td>
<td></td>
<td style="border:none"><b>废料(kg)</b></td>
<td>边角料量<br><asp:TextBox ID="JiaoLiao" runat="server" CssClass="textbox" Width="110px" Text="0"></asp:TextBox></td>
</tr>

</table>
</asp:Panel>
</form>

<script>
var notice = '<%=this.Notice %>';
if (notice != '') {
    parent.showmsgbox(notice);
}
var textboxs = document.getElementsByTagName("input");
for (var i = 0; i < textboxs.length; i++) {
    if (textboxs[i].className == "pageturn" || textboxs[i].className == "intxt1" || textboxs[i].className == "textbox") {
        textboxs[i].onfocus = function(e) { this.select(); };
    }
}
document.onkeydown = function(e) {
    if (!e) e = window.event;
    var tag = e.srcElement;
    if (!tag) tag = e.target;

    if (tag.tagName == "INPUT" && tag.className == "textbox" || tag.tagName == "INPUT" && tag.type == "radio" || tag.tagName == "SELECT") {
        if (e.keyCode == 13) {
            if (tag.id == "JiaoLiao") {
                document.getElementById("Button_Finish").focus();
                return false;
            }
            e.keyCode = 9;
        }
    }
}


function makecalendar(d, o) {
    obj = o;
    idate = makedate(d);
    cdate = new Date(idate.getFullYear(), idate.getMonth(), 1);
    ds.style.left = (getObjectLeft(o) - 60) + "px";
    ds.style.top = (getObjectTop(o) + 25) + "px";
    ds.style.display = 'block';
    showcalendar();
}
</script>
</body>
</html>